﻿@{  
    DateTime updateDate = DateTime.Today;
    DateTime bdate = updateDate;
    string format = "MMM ddd d HH:mm yyyy";
    DateTime cdate = DateTime.Now;
  
    
    Customer c = new Customer();
    
    int ctr=0;
    c.CustomerID="CC-EUK-00000004";
    c.CustomerClassification="test";
    c.CustomerStatus="test";
    c.Region="test";
    c.Solicitor="test";
    c.Campaign="test";
    c.ReferredBy="test";
    c.RelToReferror="test";
    c.Country="test";
    c.FName="Sonny";
    c.MName="Laquihon";
    c.LName="Gob";
    c.Gender="test";
    c.MonArr="test";
    c.Nationality="test";
    c.Bdate=bdate;
    c.PlaceOfBirth="Cavite";
    c.MotherMName="Celestial";
    c.CivilStatus="Married";
    c.IDNumber="test";
    c.IDType="test";
    c.Email="test@test.com";
    c.CurrMailAdd="test@test.com";
    c.CurrMailCity="test";
    c.CurrMailState="test";
    c.CurrMailCountry="test";
    c.CurrMailZip="test";
    c.PermAdd="test";
    c.PermAddCity="test";
    c.PermAddState="test";
    c.PermAddCountry="test";
    c.PermAddZip="test";
    c.SrcOfFunds="test";
    c.Employment="test";
    c.Designation="test";
    c.Employer="test";
    c.NatureOfWork="test";
    c.WorkPhone="test";
    c.BusAdd="test";
    c.BusAddCity="test";
    c.BusAddState="test";
    c.BusAddCountry="test";
    c.BusAddZip="test";
    c.ModeOfRemit="test";
    c.CallFrequency="test";
    c.CargoFrequency="test";
    c.RemitFrequency="test";
    c.ModeOfCall="test";
    c.AllowPhone=1;
    c.AllowEmail=1;
    c.AllowFax=0;
    c.AllowMail=0;
    c.PrefModeOfComm="test";
    c.PrefCallTime="test";
    c.PreffCallDay="test";
    c.YearArrived="test";
    c.MobileNo="test";
    c.LandLineNo="test";
    c.DateUpdated=cdate;
    //customer[57]=ud; 
    
     var result = CustomerManager.UpdateCustomer(c);
    <h1>@result</h1>
}